// 基于template/src/views/{{appModules}}/{{pages@DEGRIDEXPVIEW}}/{{spinalCase page.codeName}}-model.ts.hbs生成
import { IGridExpViewModel } from "@/core/interface/view/model";

function getModel(): IGridExpViewModel {
  return {
    caption: "（测试布局面板）",
    title: "订单表格导航视图（测试布局面板）",
    capPSLanguageRes: "PAGE.CAPTION.IBIZORDER.TESTCUSTOMLAYOUTPANELGRIDEXPVIEW",
    titlePSLanguageRes: "PAGE.TITLE.IBIZORDER.TESTCUSTOMLAYOUTPANELGRIDEXPVIEW",
    showDataInfoBar: true,
    codeName: 'IBIZOrderTestCustomLayoutPanelGridExpView',
    uiEngineModel: [
                {
                    name: 'newdata',
                    triggerType: 'CUSTOM',
                    logicType: 'SYSUILOGIC',
                    eventNames: '',
                    scriptCode: ``,
                    logicName:``,
                    logicTag: '',
                    eventArg: '',
                    eventArg2: '',
                    timer: 0,
                    psViewCtrlName: '',
                    entityCodeName: '',
                },
                {
                    name: 'opendata',
                    triggerType: 'CUSTOM',
                    logicType: 'SYSUILOGIC',
                    eventNames: '',
                    scriptCode: ``,
                    logicName:``,
                    logicTag: '',
                    eventArg: '',
                    eventArg2: '',
                    timer: 0,
                    psViewCtrlName: '',
                    entityCodeName: '',
                }
        ],
    ctrls: [
        {
            name: 'gridexpbar',
            codeName: 'TestCustomLayoutPanelGridExpViewgridexpbar',
            controlType: 'GRIDEXPBAR',
        }
    ],
    ctrlParams: {
        IBIZOrdergridexpbar: {},
    },
    cssName: "",
    name: "IBIZOrderTestCustomLayoutPanelGridExpView",
    viewType: "DEGRIDEXPVIEW",
    viewStyle: "DEFAULT",
    showCaption: true,
    isLoadDefault: true,
    entityCodeName: "IBIZOrder",
    keyPSAppDEField: "IBIZOrderId",
    majorPSAppDEField: "IBIZOrderName",
    enableQuickSearch: true,
    expandSearchForm:false,
    quickSearchPlaceholder: ['订单名称',].join(","),
    useDefaultLayout: false,
    layoutMode: "TABLE_24COL",
    rootLayoutDetailNames: ["container_scroll1"],
    layoutItems: {
      container_scroll1: {
          name: "container_scroll1",
          type: "VIEWLAYOUT",
          caption: "滚动条容器",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "BORDER",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 0,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          details: ["container_scroll_main1","container_scroll_header1","container_scroll_left1"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      container_scroll_main1: {
          name: "container_scroll_main1",
          type: "VIEWLAYOUT",
          caption: "面板容器",
          titleBarCloseMode: 0,
          isShowCaption: true,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "BORDER",
          layoutPos: "CENTER",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 0,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_scroll1",
          details: ["nav_pos1"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      nav_pos1: {
          name: "nav_pos1",
          type: "VIEWLAYOUT",
          caption: "导航区占位",
          titleBarCloseMode: 0,
          isShowCaption: true,
          sysCss: "",
          itemType: "RAWITEM",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "",
          layoutPos: "CENTER",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "FULL",
          widthMode: "FULL",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 0,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_scroll_main1",
          predefinedType: "NAV_POS",
          contentType: "",
          contentStyle: ``,
          rawContent: ``,
          htmlContent: ``,
          renderMode: "",
          wrapMode: "",
          vAlign: "",
          hAlign: "",
      },
      
      
      container_scroll_header1: {
          name: "container_scroll_header1",
          type: "VIEWLAYOUT",
          caption: "面板容器",
          titleBarCloseMode: 0,
          isShowCaption: true,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "BORDER",
          layoutPos: "NORTH",
          layoutHeight: 50,
          layoutWidth: 0,
          heightMode: "PX",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 0,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_scroll1",
          details: ["container_grid1"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      container_grid1: {
          name: "container_grid1",
          type: "VIEWLAYOUT",
          caption: "栅格容器",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "SIMPLEFLEX",
          layoutPos: "CENTER",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 0,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_scroll_header1",
          details: ["container1","container2"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      container1: {
          name: "container1",
          type: "VIEWLAYOUT",
          caption: "面板容器",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "SIMPLEFLEX",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 3,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_grid1",
          details: ["view_pagecaption"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      view_pagecaption: {
          name: "view_pagecaption",
          type: "VIEWLAYOUT",
          caption: "页面标题",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "FIELD",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "LEFT",
          vAlignSelf: "MIDDLE",
          userTag:'',
          userTag2:'',
          flexGrow: -1,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container1",
          required: false,
          dataItemName: "",
          predefinedType: "VIEW_PAGECAPTION",
          editorDynaClass: "",
          renderMode: "HEADING1",
          wrapMode: "NOWRAP",
          vAlign: "MIDDLE",
          hAlign: "LEFT",
      },
      
      
      container2: {
          name: "container2",
          type: "VIEWLAYOUT",
          caption: "面板容器",
          titleBarCloseMode: 0,
          isShowCaption: false,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "SIMPLEFLEX",
          layoutPos: "",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "",
          widthMode: "",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 9,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_grid1",
          details: [],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      
      
      
      container_scroll_left1: {
          name: "container_scroll_left1",
          type: "VIEWLAYOUT",
          caption: "面板容器",
          titleBarCloseMode: 0,
          isShowCaption: true,
          sysCss: "",
          itemType: "CONTAINER",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "BORDER",
          layoutPos: "WEST",
          layoutHeight: 0,
          layoutWidth: 40,
          heightMode: "",
          widthMode: "PERCENTAGE",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 0,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_scroll1",
          details: ["gridexpbar"],
          dataRegionType: "INHERIT",
          dataSourceType: "",
      },
      gridexpbar: {
          name: "gridexpbar",
          type: "VIEWLAYOUT",
          caption: "GRIDEXPBAR部件",
          titleBarCloseMode: 0,
          isShowCaption: true,
          sysCss: "",
          itemType: "CTRLPOS",    
          codeName: "",
          itemStyle: "DEFAULT",
          dynaClass: "",
          labelDynaClass: "",
          labelCssStyle: "",
          visible: true,
          disabled: false,
          layout: "",
          layoutPos: "CENTER",
          layoutHeight: 0,
          layoutWidth: 0,
          heightMode: "FULL",
          widthMode: "FULL",
          spacingBottom: "",
          spacingLeft: "",
          spacingRight: "",
          spacingTop: "",
          hAlignSelf: "",
          vAlignSelf: "",
          userTag:'',
          userTag2:'',
          flexGrow: 0,
          flexParams: {
              align: "",
              dir: "",
              vAlign: "",
          },
          parentName: "container_scroll_left1",
      },
      
      
      
    },
    sideBarLayout: 'LEFT',
		expBarName: 'TestCustomLayoutPanelGridExpViewgridexpbar',
		expBarWidth: 0,
		expBarHeight: 0
    }
}

//  视图模型
export const model = getModel();